package com.ruoyi.costumeShop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存管理对象 costume_inventory
 * 
 * @author ruoyi
 * @date 2022-04-05
 */
public class CostumeInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库存唯一标识 */
    private Long inventoryId;

    /** 服装id */
    @Excel(name = "服装id")
    private Long costumeId;

    /** 服装尺码 */
    @Excel(name = "服装尺码")
    private Long sizeId;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long inventory;

    public void setInventoryId(Long inventoryId) 
    {
        this.inventoryId = inventoryId;
    }

    public Long getInventoryId() 
    {
        return inventoryId;
    }
    public void setCostumeId(Long costumeId) 
    {
        this.costumeId = costumeId;
    }

    public Long getCostumeId() 
    {
        return costumeId;
    }
    public void setSizeId(Long sizeId) 
    {
        this.sizeId = sizeId;
    }

    public Long getSizeId() 
    {
        return sizeId;
    }
    public void setInventory(Long inventory) 
    {
        this.inventory = inventory;
    }

    public Long getInventory() 
    {
        return inventory;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inventoryId", getInventoryId())
            .append("costumeId", getCostumeId())
            .append("sizeId", getSizeId())
            .append("inventory", getInventory())
            .toString();
    }
}
